// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router'
import axios from "axios"
import Mint from "mint-ui"
import "mint-ui/lib/style.css"
import ElementUI from "element-ui"
import "element-ui/lib/theme-chalk/index.css"
import App from "./App"

import "./icon/iconfont.css"
import "./icon/incon2/iconfont.css"
import "./icon/incon3/iconfont.css"
import "./icon/icon4/iconfont.css"

router.afterEach((to,from,next) => {
  window.scrollTo(0,0);
})
window.axios=axios
Vue.config.productionTip = false
Vue.use(Mint)
Vue.use(ElementUI,{size:'small',zIndex:3000})
new Vue({
  el: '#app',
  router,
  components:{App},
  template:"<App/>"
})
